package com.demo10;

/**
 * Created by Administrator on 2017/4/14.
 */
public class SwitchDemo {
    public static void main(String[] args) {
        String str = "明日科技";
        switch (str) {
            case "明日":
                System.out.println("明日图书网 www.mingribook.com");
                break;
            case "明日科技":
                System.out.println("吉林省明日科技有限公司");
                break;
            default:
                System.out.println("以上条件都不是");
        }
    }
}
